Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
public IActionResult BeforeSplitBill([FromBody] GroupKey groupKey, double amount) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } try { _groupsService.BeforeSplitBill(groupKey, amount); return(Ok()); } catch (Exception e) { return(BadRequest(e.Message)); } }