public List <UserTitlesWM> GetAllUserTitles()
 {
     try
     {
         return(UserTitlesMapping.MaptoWM(_userTitlesOperations.GetAllUserTitles()));
     }
     catch (Exception ex)
     {
         throw new Exception(ex.ToString());
     }
 }
 public List <UserTitlesWM> FindUserTitles(Expression <Func <UserTitles, bool> > predicate)
 {
     try
     {
         return(UserTitlesMapping.MaptoWM(_userTitlesOperations.FindUserTitles(predicate)));
     }
     catch (Exception ex)
     {
         throw new Exception(ex.ToString());
     }
 }
 public UserTitlesWM GetUserTitle(int id)
 {
     try
     {
         return(UserTitlesMapping.MaptoWM(_userTitlesOperations.GetUserTitle(id)));
     }
     catch (Exception ex)
     {
         throw new Exception(ex.ToString());
     }
 }