Example #1
0
 public async Task<IActionResult> AddCategory(Category category)
 {
     var createdcat = await _repo.Category(category);
     return Ok(createdcat);
 }