public bool AddNewProject(int CityId, string ProjectName) { try { repository.AddProject(CityId, ProjectName); return(true); } catch (Exception ex) { return(false); } }