public ReportsController(AttendenceService attendenceService, ReportService reportService) { this.attendenceService = attendenceService; this.reportService = reportService; this.context = BeanContext.GetInstance(); //this.objReportService.CurrentKey = CurrentRequestKey; }
public static bool moveToRemoteTable_AlSorayai(string dbConnection, string dbType) { ServiceResult <DataTable> newTransactions = getNewTransactions(); foreach (DataRow transaction in newTransactions.Result.Rows) { if (terminated) { return(false); } try { if (IsRunning) { AttendenceService.updateAttendence(transaction, dbConnection, dbType); } } catch (Exception e) { SystemContext.Log(SystemContext.RootLogger, LogLevel.ERROR, e.Message); } } return(true); }
public HomeController(AttendenceService ObjAttendenceService, AccountService ObjAccountService, SellGoodService ObjSellGoodService) { this.ObjAttendenceService = ObjAttendenceService; this.ObjSellGoodService = ObjSellGoodService; this.ObjAccountService = ObjAccountService; }
public void PostList(List <AttendenceViewModel> attendenceViewModel) { AttendenceService.PostListOfAttendenceState(attendenceViewModel); }
public void Post(AttendenceViewModel attendenceViewModel) { AttendenceService.ChangeAttendenceState(attendenceViewModel); }
public IEnumerable <AttendenceViewModel> GetAttendencesToOneStudent(string id) { return(AttendenceService.GetAttendencesToStudent(id)); }
public IHttpActionResult Get() { return(Ok(AttendenceService.GetAll())); }