예제 #1
0
        public UserService(ForagerDBContext ctx)
        {
            this.ctx = ctx;
            //Roles:
            //"User" = Can controll own ToDos
            //"Admin" = Can controll all ToDos

            //SecurityLevel:
            //1 = Can view ToDos determined by Role
            //2 = Cam view, create and delete ToDos determined by Role
        }
예제 #2
0
 public CompanyService(ForagerDBContext ctx)
 {
     this.ctx = ctx;
 }
예제 #3
0
 public ReportService(ForagerDBContext ctx)
 {
     this.ctx = ctx;
 }
예제 #4
0
 public ListingService(ForagerDBContext ctx)
 {
     this.ctx = ctx;
 }