예제 #1
0
        public ResultEntity <CityEntity> Create(CityEntity cityEntity)
        {
            var validationResult = new ResultEntity <CityEntity>();

            using (var cityDA = new CityDA())
            {
                validationResult.Value = cityDA.Create(cityEntity);
            }

            return(validationResult);
        }