This commit is contained in:
jnunez 2018-07-06 22:28:49 +00:00
parent c2dc0c8cd6
commit 1ebaaaa96f
4 changed files with 25 additions and 3 deletions

View file

@ -1,14 +1,21 @@
using Atesa.Utilitarios; using AYA.SlnSinortModel.Sinort;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using System.Data.Entity;
using System.Data.Entity.Validation;
using AYA.SlnSinortModel.Entidades;
using Atesa.Utilitarios;
using AYA.SlnSinortModel.Constantes;
namespace AYA.SlnSinortModel.DAL.Sinort namespace AYA.SlnSinortModel.DAL.Sinort
{ {
public class PermisosUsuarioDAL public class PermisosUsuarioDAL
{ {
Log log = new Log("PermisosUsuarioDAL"); Log log = new Log("PermisosUsuarioDAL");
} }
} }

View file

@ -131,5 +131,8 @@ namespace AYA.SlnSinortModel.DAL.Sinort
return model; return model;
} }
} }
} }

View file

@ -116,6 +116,7 @@ namespace AYA.SlnSinortModel.DAL.Sinort
} }
else else
{ {
model.FechaModificacion = DateTime.Now; model.FechaModificacion = DateTime.Now;
model.FechaCreacion = Actual.FechaCreacion; model.FechaCreacion = Actual.FechaCreacion;
model.UsuarioCreacion = Actual.UsuarioCreacion; model.UsuarioCreacion = Actual.UsuarioCreacion;
@ -147,7 +148,6 @@ namespace AYA.SlnSinortModel.DAL.Sinort
return Respuesta; return Respuesta;
} }
#endregion #endregion
#region UsuariosAyA #region UsuariosAyA
@ -186,5 +186,8 @@ namespace AYA.SlnSinortModel.DAL.Sinort
} }
#endregion #endregion
} }
} }

View file

@ -52,4 +52,13 @@ namespace AYA.SlnSinortModel.Entidades
public string end { get; set; } public string end { get; set; }
public bool allDay { get; set; } public bool allDay { get; set; }
} }
public class PermisosJSON : BaseJson
{
public List<Pantallas> Pantallas { get; set; }
public RolesPantallas RolesPantallas { get; set; }
public RolesUsuario RolesUsuario { get; set; }
public Roles Rol { get; set; }
}
} }