public bool Delete(string manucipalityName) { var municipality = _municipalityRepo.Get(manucipalityName); if (municipality == null) { return(false); } _municipalityRepo.Remove(municipality); _municipalityRepo.Save(); return(true); }