예제 #1
0
 public IActionResult GetxId(string id)
 {
     return(Ok(_categoryBL.Get(id)));
 }
        public async Task <IActionResult> Get()
        {
            var categorys = await _categoryBL.Get();

            return(Ok(categorys));
        }