public async Task <IActionResult> PostOrderStatus(OrderStatusModel orderStatus) { await orderStatusService.PostOrderStatus(orderStatus); return(CreatedAtAction("GetOrderStatus", new { id = orderStatus.OrderStatusId }, orderStatus)); }
public async Task <IActionResult> PostOrderStatus(OrderStatusModel orderStatus) { await orderStatusService.PostOrderStatus(orderStatus); return(CreatedAtAction("GetOrderStatus", new { id = orderStatus.OrderStatusId }, orderStatus)); }