public IActionResult MemberSale(MemberAccountModel accountModel) { try { var currentMonthSale = _employee.SaleByMember(accountModel); return(Ok(new { status = true, result = currentMonthSale })); } catch (InvalidException err) { return(Ok(new { status = false, result = err.Message })); } catch (Exception ex) { return(BadRequest(ex.Message)); } }