Esempio n. 1
0
        public JsonResult ExpensesDay(DateTime start, DateTime end)
        {
            string         userId      = _userManager.GetUserId(User);
            DateTime       dateStart   = new DateTime(start.Year, start.Month, start.Day);
            DateTime       dateEnd     = new DateTime(end.Year, end.Month, end.Day);
            List <Expense> lstExpenses = _homeBusiness.LstExpensesDay(dateStart, dateEnd, userId);

            return(Json(data: lstExpenses));
        }