public UserOrganization MapDTOToUserOrganization(UserOrganizationDTO userOrganizationDTO) { var mappedUserOrganization = AutoMapper.Mapper.Map <UserOrganization>(userOrganizationDTO); return(mappedUserOrganization); }
public UserOrganizationDTO UpdateUserOrganization(UserOrganizationDTO entity) { var userOrganization = _userOrganizationHelper.UpdateUserOrganization(_dtoMapper.MapDTOToUserOrganization(entity)); return(_dtoMapper.MapUserOrganizationToDTO(userOrganization)); }