Ejemplo n.º 1
0
 protected virtual ActionResult getEnregList(DateTime?d1, DateTime?d2, Boolean?sd, string sort, string dir)
 {
     return(new JsonnResult {
         Data = new { success = true, data = enregRepository.GetEnregList(d1, d2, sd, UserName, User.IsInRole("jrpkm"), EnregTypeID, sort, dir) }
     });
 }