Exemplo n.º 1
0
        public async Task <ActionResult> Search(string searchKeyword, Paging paging, List <OrderBy> orderBy)
        {
            var isSuperAdmin    = User.IsSuperAdmin();
            var drivingSchoolId = UserDrivingSchoolId;

            return(this.JsonNet(await _driverBusinessService.Search(isSuperAdmin, drivingSchoolId, searchKeyword, orderBy, paging)));
        }
Exemplo n.º 2
0
 public async Task <ActionResult> Search(string searchKeyword, Paging paging, List <OrderBy> orderBy)
 {
     return(this.JsonNet(await _driverBusinessService.Search(searchKeyword, orderBy, paging)));
 }