public List <UsersWM> FindUsers(Expression <Func <Users, bool> > predicate)
 {
     try
     {
         return(UsersMapping.MapToWM(_usersOperations.FindUsers(predicate)));
     }
     catch (Exception ex)
     {
         throw new Exception(ex.ToString());
     }
 }
 public UsersWM GetUser(int id)
 {
     try
     {
         return(UsersMapping.MapToWM(_usersOperations.GetUser(id)));
     }
     catch (Exception ex)
     {
         throw new Exception(ex.ToString());
     }
 }
 public List <UsersWM> GetAllUsers()
 {
     try
     {
         return(UsersMapping.MapToWM(_usersOperations.GetAllUsers()));
     }
     catch (Exception ex)
     {
         throw new Exception(ex.ToString());
     }
 }
 public UsersWM IdentifyUser(ClaimsIdentity claimsIdentity)
 {
     try
     {
         return(UsersMapping.MapToWM(_usersOperations.IdentifyUser(claimsIdentity)));
     }
     catch (Exception ex)
     {
         throw new Exception(ex.ToString());
     }
 }