public AttendanceController( IAttendanceService attendanceService, ICoursesService coursesService) { _attendanceService = attendanceService; _coursesService = coursesService; }
public AttendanceController(IAttendanceService attendanceService, IActivityService activityService, IMemberService memberService, IClubService clubService) { AttendanceService = attendanceService; ActivityService = activityService; MemberService = memberService; ClubService = clubService; }
public MeetService(IMeetRepository meetRepository, IWeatherService weatherService , IAttendanceService attendanceService) { this._meetRepository = meetRepository; this._weatherService = weatherService; this._attendanceService = attendanceService; }
public DepartmentController(IDepartmentService _departmentService, IJobService _jobService, IAttendanceService _attendanceService) { this._departmentService = _departmentService; this._jobService = _jobService; this._attendanceService = _attendanceService; }
public AttendanceController(IAttendanceService attendanceService, IEmployeeService employeeService, ITicketService ticketService, IAspNetUserService aspNetUserService) { this.attendanceService = attendanceService; this.employeeService = employeeService; this.ticketService = ticketService; this.aspNetUserService = aspNetUserService; }
public GetInfoToCheckAttendanceGeneralHandler(NetBairesContext context, IAttendanceService attendanceService, IMapper mapper) { _context = context; _attendanceService = attendanceService; _mapper = mapper; }
public AttendanceController(IUserService userService, IAttendanceService attendanceService, IDepartmentService departmentService) { _userService = userService; _departmentService = departmentService; _attendanceService = attendanceService; }
public PutReportAttendanceHandler(NetBairesContext context, ICurrentUser currentUser, IAttendanceService attendanceService) { _context = context; _currentUser = currentUser; this.attendanceService = attendanceService; }
public GetDataToReportAttendanceToEventHandler(IAttendanceService attendanceService, IMapper mapper, NetBairesContext context) { _attendanceService = attendanceService; _mapper = mapper; _context = context; }
public AttendanceController(IMapper mapper, IAttendanceService attendanceService, IUserService userService, IMeetService meetService) { this._mapper = mapper; this._attendanceService = attendanceService; this._userService = userService; this._meetService = meetService; }
public DashboardViewModelService( IAttendanceService attendanceService, IEmployeeStateService employeeStateService, IShiftService shiftService) { _attendanceService = attendanceService; _employeeStateService = employeeStateService; _shiftService = shiftService; }
public SubjectsController( ISubjectServices subjectServices, IAttendanceService attendanceService, UserManager <User> userManager) { this.subjectServices = subjectServices; this.attendanceService = attendanceService; this.userManager = userManager; }
public AttendanceController(IAttendanceService service, IUserService userService, ICoordinatorService coordinatorService, IClassService classService, IStudentService studentService, IInstructorService instructorService) { this._service = service; this._userService = userService; this._coordinatorService = coordinatorService; this._classService = classService; this._studentService = studentService; this._instructorService = instructorService; }
public GetEventLiveDetailHandler(IMapper mapper, ICurrentUser currentUser, IAttendanceService attendanceService, NetBairesContext context) { _mapper = mapper; _currentUser = currentUser; _attendanceService = attendanceService; _context = context; }
public static bool IsUserAlreadyLogout(string userID, IAttendanceService _attendanceService, DateTime time) { var result = _attendanceService.GetAll().Result.Where(ass => ass.UserID == userID && ass.AttendanceDate.Value.Date >= time.Date && ass.TimeOutImage == null).FirstOrDefault(); if (result == null) { return(true); } return(false); }
public AttendanceViewModelService( IEmployeeService employeeService, IEmployeeImageService employeeImageService, IAttendanceService attendanceService, IEmployeeDetailService employeeDetailService) { _employeeService = employeeService; _employeeImageService = employeeImageService; _attendanceService = attendanceService; _employeeDetailService = employeeDetailService; }
public AttendanceController( IEmployeeService employeeService, IEmployeeImageService employeeImageService, IAttendanceService attendanceService, IAttendanceViewModelService attendanceViewModelService) { _employeeService = employeeService; _employeeImageService = employeeImageService; _attendanceService = attendanceService; _attendanceViewModelService = attendanceViewModelService; }
public AttendanceServiceTests() { this.storageBrokerMock = new Mock <IStorageBroker>(); this.loggingBrokerMock = new Mock <ILoggingBroker>(); this.dateTimeBrokerMock = new Mock <IDateTimeBroker>(); this.attendanceService = new AttendanceService( storageBroker: this.storageBrokerMock.Object, loggingBroker: this.loggingBrokerMock.Object, dateTimeBroker: this.dateTimeBrokerMock.Object); }
public AttendanceSchedule() { _attendanceRepository = new AttendanceRepository(_databaseFactory); _employeeDepartmentRepository = new EmployeeDepartmentRepository(_databaseFactory); _employeeRepository = new EmployeeRepository(_databaseFactory, _employeeDepartmentRepository); _attendanceLogRepository = new AttendanceLogRepository(_databaseFactory, _employeeRepository); _employeeHoursRepository = new EmployeeHoursRepository(_databaseFactory); _attendanceLogService = new AttendanceLogService(_attendanceLogRepository); _attendanceService = new AttendanceService(_unitOfWork, _attendanceRepository, _attendanceLogService, _employeeHoursRepository); }
public StatisticsDataServices(IAccountService accountService, IStudentService studentService, ICourseServices courseServices, ILecturerService lecturerServices, IRegistrationService registrationService, IAttendanceService attendanceService) { _accountService = accountService; _studentService = studentService; _courseServices = courseServices; _lecturerServices = lecturerServices; _registrationService = registrationService; _attendanceService = attendanceService; }
public SchoolClassesController( ISchoolClassService schoolClassService, ISubjectServices subjectServices, IAttendanceService attendanceService, UserManager <User> userManager, IConfiguration config) { this.schoolClassService = schoolClassService; this.subjectServices = subjectServices; this.attendanceService = attendanceService; this.userManager = userManager; this.config = config; }
public static string GetTimeInOutString(string id, IAttendanceService _attendanceService, int type, DateTime time) { var result = type == 1 ? GetAttendanceNowByUserID(id, _attendanceService, time).TimeIn : GetAttendanceNowByUserID(id, _attendanceService, time).TimeOut; if (result != null) { var extra = TimeCalculator.IdentifyMeridiem(result.Value.Hours); var hour = result.Value.Hours > 12 ? result.Value.Hours - 12 : result.Value.Hours; return(hour + ":" + result.Value.Minutes + " " + extra); } return(null); }
public static Attendance GetAttendanceNowByUserID(string id, IAttendanceService _attendanceService, DateTime time) { try { var result = _attendanceService.GetAll().Result.Where(ats => ats.UserID == id && ats.AttendanceDate.Value.Day == time.Day && ats.AttendanceDate.Value.Month == time.Month && ats.AttendanceDate.Value.Year == time.Year).FirstOrDefault(); return(result); } catch (Exception e) { Console.WriteLine(e); throw; } }
public ViewAttendanceViewModel(ILecturerService lecturerService, IAuthenticator authenticator, IAttendanceService attendanceService) { _lecturerService = lecturerService; _authenticator = authenticator; _attendanceService = attendanceService; PrintAttendance = new RelayACommand(AttendancePrint); LoadAttendance(); }
public EmployeesController( IEmployeeService employeeService, IUserService userService, IAttendanceService attendanceService ) { this._employeeService = employeeService; _userService = userService; _attendanceService = attendanceService; _helper = new HelperClass(); }
public AttendanceController( IHttpContextAccessor httpContextAccessor, IEmployeeService employeeService, IEmployeeImageService employeeImageService, IEmployeeDetailService employeeDetailService, IAttendanceService attendanceService) { _httpContextAccessor = httpContextAccessor; _employeeService = employeeService; _employeeImageService = employeeImageService; _employeeDetailService = employeeDetailService; _attendanceService = attendanceService; }
public AccountController( UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, IEmailSender emailSender, IAttendanceService attendanceService, ILogger <AccountController> logger) { _userManager = userManager; _signInManager = signInManager; _emailSender = emailSender; _attendanceService = attendanceService; _logger = logger; }
public EmployeeHoursService(IUnitOfWork unitOfWork, IEmployeeHoursRepository employeeHoursRepository, IAttendanceService attendanceService, ISettingService settingService, IEmployeeWorkScheduleService employeeWorkScheduleService, IEmployeeInfoService employeeInfoService) { _employeeHoursRepository = employeeHoursRepository; _unitOfWork = unitOfWork; _attendanceService = attendanceService; _settingService = settingService; _employeeWorkScheduleService = employeeWorkScheduleService; _employeeInfoService = employeeInfoService; }
public AttendanceController(IGenericRepository genericRepository, ISectionRepository sectionRepository, SectionToTakeAttendanceModelMapper sectionToTakeAttendanceModelMapper, TakeAttendanceModelToStudentSectionAttendanceEventListMapper takeAttendanceModelToStudentSectionAttendanceEventListMapper, IAttendanceService attendanceService, IStudentRepository studentRepository) { _genericRepository = genericRepository; _sectionRepository = sectionRepository; _sectionToTakeAttendanceModelMapper = sectionToTakeAttendanceModelMapper; _takeAttendanceModelToStudentSectionAttendanceEventListMapper = takeAttendanceModelToStudentSectionAttendanceEventListMapper; _attendanceService = attendanceService; _studentRepository = studentRepository; }
public AttendanceController(IAttendanceLogRepository attendanceLogRepository, IAttendanceRepository attendanceRepository, IEmployeeRepository employeeRepository, IUnitOfWork unitOfWork, IEmployeePayrollRepository employeePayrollRepository, IEmployeeHoursRepository employeeHoursRepository, IAttendanceService attendanceService, IHolidayRepository holidayRepository) { _attendanceLogRepository = attendanceLogRepository; _attendanceRepository = attendanceRepository; _employeeRepository = employeeRepository; _unitOfWork = unitOfWork; _employeePayrollRepository = employeePayrollRepository; _employeeHoursRepository = employeeHoursRepository; _attendanceService = attendanceService; _holidayRepository = holidayRepository; }
public Attendence(IAttendanceService attendanceService) { _attendanceService = attendanceService; InitializeComponent(); }
public AttendanceController(IAttendanceService attendanceService) { this.attendanceService = attendanceService; }
public UsersApiController(IUserDataService UserDataService, IAttendanceService AttendanceService, IMessagingService messagingService) { _userDataService = UserDataService; _attendanceService = AttendanceService; _messagingService = messagingService; }