Exemple #1
0
 public IActionResult Filters(int pageSize, int pageIndex)
 {
     try
     {
         var entity = _baseServices.GetFilter(pageSize, pageIndex);
         if (entity != null)
         {
             return(Ok(entity));
         }
         else
         {
             return(NoContent());
         }
     }
     catch (Exception)
     {
         throw;
     }
 }