public int AddUserType(DAL.Entity.UserType UserType)
 {
     try
     {
         _IUserTypeRepository.Insert(UserType);
         return(_IUserTypeRepository.Save());
     }
     catch (Exception exception)
     {
         exception.Log();
         return(0);
     }
 }
 public UserType Create(UserType toCreate)
 {
     try {
         rep.Create(toCreate);
         rep.Save();
         return(toCreate);
     }
     catch (Exception) {
         return(null);
     }
 }