Пример #1
0
        public DistrictModel Post([FromBody] DistrictModel district)
        {
            Response.StatusCode = 201;
            string result = DistrictService.CreateDistrict(district, dbConn);

            district.Id = Convert.ToInt32(result);
            return(district);
        }