Пример #1
0
        public async Task <bool> CheckExist(string name, short id)
        {
            //var list = this.RequestContext.RouteData.Values.Keys;
            var list = new List <string> {
                nameof(name), nameof(id)
            };
            var para = APIProvider.APIGeneratorParameter(list, name, id);

            return(await _department.CheckExist(para));
        }