public IHttpActionResult PostBalance(BalanceDTO obj) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } var result = Service.AddBalance(obj); return(Ok(result)); }
public IHttpActionResult PostBalance(BalanceDTO obj) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } var result = Service.AddBalance(obj); return(Ok(result)); }