public void UpdateProject(UpdateModel updateModel) { var update = new Update(); if (updateModel != null) { update = ApplicationMapper.MapProjectUpdate(updateModel); } projectRepository.UpdateProject(update); }