public IActionResult AddCat([FromBody] Cat[] cats) { try { _catService.AddCats(cats); return(Created()); } catch { return(InternalError()); } }
public IActionResult AddCat([FromBody] Cat[] cats) { try { _catService.AddCats(cats); return(Created()); } catch { return(InternalError()); } }