public void SaveProjectModel(GitProjectModel model) { var dataModel = model.ConvertToDataModel <GitProjectModel, GitProjectDataModel>(); projectProviderService.SaveProject(dataModel); ObjectUtility.CopyCommonValues(dataModel, model); }