private SetStateDeleted ( |
||
district | Input paramater that represents object that we need to change. | |
Результат |
private District SetStateDeleted(District district)
{
uOW.DistrictRepo.SetStateModified(district);
district.Deleted = true;
district.ParentId = null;
uOW.Save();
return district;
}