Esempio n. 1
0
        public void DeleteCity(Guid cityId)
        {
            var city = GetCityByCityId(cityId);

            context.Remove(city);
        }
Esempio n. 2
0
        public void DeleteUser(Guid userId)
        {
            var user = GetUserByUserId(userId);

            context.Remove(user);
        }
Esempio n. 3
0
        public void DeleteRole(Guid roleId)
        {
            var role = GetRoleByRoleId(roleId);

            context.Remove(role);
        }
        public void DeleteCountry(Guid countryId)
        {
            var country = GetCountryByCountryId(countryId);

            context.Remove(country);
        }