public ServerResponse Logout([FromBody] Account Account) { var res = new ServerResponse(); using (AccountBL AccountBL = new AccountBL()) { try { res.Data = AccountBL.CheckOutForStaff(Account); } catch (Exception ex) { res.Success = false; } } return(res); }