public BaseResponse <int> Terminate() { BaseResponse <int> response = null; try { string token = Request.Headers["Auth"]; businessLogicLayer.Terminate(token); response = new BaseResponse <int>(0); } catch (Exception ex) { response = new BaseResponse <int> { Error = ex.Message }; } return(response); }