Exemplo n.º 1
0
 protected User GetCurrentUser()
 {
     using (var context = new GeneSythesisDBContext())
     {
         return(context.Users.FirstOrDefault(u => u.Name.Equals(User.Identity.Name)));
     }
 }
Exemplo n.º 2
0
 public StatusController()
 {
     db = new GeneSythesisDBContext();
 }
Exemplo n.º 3
0
 public ModStructuresService(GeneSythesisDBContext context)
 {
     _db = context;
 }
Exemplo n.º 4
0
 public SpeciesService(GeneSythesisDBContext context)
 {
     _db = context;
 }
Exemplo n.º 5
0
 public MaterialRequestsService(GeneSythesisDBContext dbContext)
 {
     _db = dbContext;
 }
Exemplo n.º 6
0
 public AuthorizationService(GeneSythesisDBContext context)
 {
     _db = context;
 }
Exemplo n.º 7
0
 public SpeciesService()
 {
     _db = new GeneSythesisDBContext();
 }
Exemplo n.º 8
0
 public DuplexesService()
 {
     _db = new GeneSythesisDBContext();
 }
Exemplo n.º 9
0
 public StrandsService()
 {
     _db = new GeneSythesisDBContext();
 }
Exemplo n.º 10
0
 public ModifierTemplatesService(GeneSythesisDBContext dbContext)
 {
     _db = dbContext;
 }
Exemplo n.º 11
0
 public InstrumentsService(GeneSythesisDBContext context)
 {
     _db = context;
 }
Exemplo n.º 12
0
 public SynthesisRequestsService(GeneSythesisDBContext dbContext)
 {
     _db = dbContext;
 }
Exemplo n.º 13
0
 public TargetsService(GeneSythesisDBContext context)
 {
     _db = context;
 }
Exemplo n.º 14
0
 public TargetsService()
 {
     _db = new GeneSythesisDBContext();
 }