public IActionResult Post(IEnumerable <Customer> customers) { if (_customers.AddCustomers(customers)) { return(Created("Customers added", customers)); } return(BadRequest()); }
public IActionResult Post(IEnumerable <Customer> customers) { if (_customers.AddCustomers(customers)) { return(Created("Customers added", customers)); } return(BadRequest()); }