Ejemplo n.º 1
0
 public static Common.Access LoadAccess(Guid AccessGuid)
 {
     Business.Access accessController = new Business.Access();
     Common.Access   access           = new Common.Access();
     accessController.Load(AccessGuid, access);
     return(access);
 }
Ejemplo n.º 2
0
 public static bool insert(Common.Access access)
 {
     Business.Access accessController = new Business.Access();
     if (accessController.Insert(access) != Guid.Empty)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Ejemplo n.º 3
0
 public static bool Delete(Guid AccessGuid)
 {
     Business.Access accessController = new Business.Access();
     return(accessController.Delete(AccessGuid));
 }
Ejemplo n.º 4
0
 public static bool UpdateAccess(Common.Access access)
 {
     Business.Access accessController = new Business.Access();
     return(accessController.UpdateAccess(access));
 }
Ejemplo n.º 5
0
 public static DataTable GetPagedAccess(Guid serviceGuid, string sortField, int pageNo, int pageSize, ref int resultCount)
 {
     Business.Access accessController = new Business.Access();
     return(accessController.GetPagedAccess(serviceGuid, sortField, pageNo, pageSize, ref resultCount));
 }