public IEnumerable <UserType> FindBy(UserType filter)
 {
     try {
         if (filter == null)
         {
             filter = new UserType();
         }
         return(rep.FindBy(f => f.IsActive && f.Description.Contains
                               (string.IsNullOrEmpty(filter.Description) ?
                               f.Description : filter.Description)));
     }
     catch (Exception) {
         throw;
     }
 }