public virtual ApiOfficerClientRequestModel MapClientResponseToRequest( ApiOfficerClientResponseModel response) { var request = new ApiOfficerClientRequestModel(); request.SetProperties( response.Badge, response.Email, response.FirstName, response.LastName, response.Password); return(request); }
public virtual ApiOfficerClientResponseModel MapClientRequestToResponse( int id, ApiOfficerClientRequestModel request) { var response = new ApiOfficerClientResponseModel(); response.SetProperties(id, request.Badge, request.Email, request.FirstName, request.LastName, request.Password); return(response); }