public UnitsController(
     Data.IKcsarContext db,
     IPermissionsService permissions,
     IWebHostingService hosting,
     ILog log)
     : base(db, permissions, hosting, log)
 {
 }
 public TrainingCoursesController(
     IPermissionsService permissions,
     Data.IKcsarContext db,
     IWebHostingService hosting,
     ILog log)
     : base(db, permissions, hosting, log)
 {
 }
 public DocumentsController(
     IDocumentsService documents,
     Data.IKcsarContext db,
     IPermissionsService permissions,
     IWebHostingService hosting,
     ILog log)
     : base(db, permissions, hosting, log)
 {
     this.documents = documents;
 }
 internal static void RegisterApplication(Data.IKcsarContext db, Guid id, Data.Member member)
 {
     Data.UnitApplicant application = new Data.UnitApplicant
     {
         Unit      = db.Units.Single(f => f.Id == id),
         Applicant = member,
         Started   = DateTime.Now,
         IsActive  = true,
     };
     db.UnitApplicants.Add(application);
 }
 public MembersController(Model.IKcsarContext db, ILog log)
     : base(db, log)
 {
 }
Exemple #6
0
 public TrainingCoursesController(Data.IKcsarContext db, ILog log)
     : base(db, log)
 {
 }
 public UnitsController(Model.IKcsarContext db, ILog log)
     : base(db, log)
 {
 }
 public TrainingRecordsController(Data.IKcsarContext db, ILog log)
     : base(db, log)
 {
 }