public List <DAL.Entity.UserType> GetAllUserType()
 {
     try
     {
         return(_IUserTypeRepository.All().ToList());
     }
     catch (Exception exception)
     {
         exception.Log();
         return(null);
     }
 }