// GET: Expenses/Details/5
        public async Task <ActionResult> Details(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }

            ExpenseModel expense = await _service.FindAsync(id.Value);

            if (expense == null)
            {
                return(HttpNotFound());
            }
            return(View(expense));
        }