Exemplo n.º 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
        }
Exemplo n.º 2
0
 public CompanyService(ForagerDBContext ctx)
 {
     this.ctx = ctx;
 }
Exemplo n.º 3
0
 public ReportService(ForagerDBContext ctx)
 {
     this.ctx = ctx;
 }
Exemplo n.º 4
0
 public ListingService(ForagerDBContext ctx)
 {
     this.ctx = ctx;
 }