public virtual ActionResult GetOutgoingsByTimeFilter(DateTime?firstDateTime, DateTime?secondDateTime)
        {
            var tempDate = DateTime.Now;

            return(Json(_outGoingService.GetOutGoings(firstDateTime.GetValueOrDefault(new DateTime(tempDate.Year, tempDate.Month, 1)), new DateTime(tempDate.Year, tempDate.Month, DateTime.DaysInMonth(tempDate.Year, tempDate.Month)), _idLoggedUser), JsonRequestBehavior.AllowGet));
        }
Ejemplo n.º 2
0
 public IEnumerable <SumOfAmountOutgoingType> GetAllSumsInSpecficOutgoingType(string userId)
 {
     return(PrepereSumOfAmountInTypes(_outGoingService.GetOutGoings(userId), userId));
 }
Ejemplo n.º 3
0
 public virtual ActionResult GetOutgoings()
 {
     return(Json(_outGoingService.GetOutGoings(_idLoggedUser), JsonRequestBehavior.AllowGet));
 }