public virtual ApiAdminClientRequestModel MapClientResponseToRequest( ApiAdminClientResponseModel response) { var request = new ApiAdminClientRequestModel(); request.SetProperties( response.Email, response.FirstName, response.LastName, response.Password, response.Phone, response.Username); return(request); }
public virtual ApiAdminClientResponseModel MapClientRequestToResponse( int id, ApiAdminClientRequestModel request) { var response = new ApiAdminClientResponseModel(); response.SetProperties(id, request.Email, request.FirstName, request.LastName, request.Password, request.Phone, request.Username); return(response); }