public int Count()
 {
     try
     {
         return(_repository.Count());
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }