/// <summary>
        /// 编辑库位
        /// </summary>
        /// <param name="location"></param>
        /// <returns></returns>
        public bool EditLocation(Location location)
        {
            var locationRepository = new LocationRepository();

            return(locationRepository.EditLocation(location));
        }
Ejemplo n.º 2
0
        public async Task <int> EditLocation(Location location)
        {
            int count = await _repository.EditLocation(location);

            return(count);
        }