public async Task <IActionResult> AddInventory(InventoryItemForAddDto model) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } _response = await _repo.AddInventory(model); return(Ok(_response)); }
public async Task <IActionResult> AddInventory(InventoryItemForAddDto model) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } _response = await _repo.AddInventory(model); return(Ok(_response)); }