// POST: api/Bills public IHttpActionResult Post([FromBody] Bill bill) { try { return(Ok(BillsRepository.Create(bill))); } catch { return(BadRequest()); } }