Exemplo n.º 1
0
        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);
        }