public AllEntityJson GetThisMonthData(TimeSheetValueJson workHourJson)
        {
            UnitOfWork       uow = new UnitOfWork();
            TimeSheetManager timesheetManager = new Domain.TimeSheetManager(uow);
            User             currUser         = new UserHelper().GetCurrent();
            var presenceours = timesheetManager.GetThisMonthPresencHoursByUserId(currUser.ID, workHourJson.Date);
            var workours     = timesheetManager.GetWorkHoursByUser(currUser.ID, workHourJson.Date);

            return(new HomeEntityAssembler().ToJson(presenceours, workours));
        }
        public AllEntityJson GetThisMonthDataByUser(GetThisMonthDataByUserJson json)
        {
            UnitOfWork       uow              = new UnitOfWork();
            UserManager      userManager      = new UserManager(uow);
            TimeSheetManager timesheetManager = new Domain.TimeSheetManager(uow);
            User             currUser         = userManager.GetByID(Guid.Parse(json.userid.ToString()));
            var presenceours = timesheetManager.GetThisMonthPresencHoursByUserId(currUser.ID, json.value.Date);
            var workours     = timesheetManager.GetWorkHoursByUser(currUser.ID, json.value.Date);

            return(new HomeEntityAssembler().ToJson(presenceours, workours));
        }