public FileUploadController() { _flowJs = new FlowJsRepo(); _db = new TExpEntities(); _uploadFolder = ConfigurationManager.AppSettings["UploadFolder"]; // _uploadFolder = @"C:\Temp\PicUpload\"; }
public DecisionMessage(int EquipmentID) { db = new TExpEntities(); Equipment = db.t_Equipment.Find(EquipmentID); Message = db.t_Message.FirstOrDefault(); CostOfRepair = db.t_CostOfRepair.Find(EquipmentID); }
public WizardStepFourController() { db = new TExpEntities(); _userManager = System.Web.HttpContext.Current.GetOwinContext().GetUserManager <MyUserManager>(); _userName = User.Identity.Name; #if DEBUG Debug.WriteLine("~~~~~~~~ user name ->" + User.Identity.Name); #endif }
public UserListController() { _db = new TExpEntities(); }
private TExpEntities db; // = new TExpEntities(); public TypeOfEquipmentMalfunctionController() { db = new TExpEntities(); //db.Configuration.ProxyCreationEnabled = false; }
public DocumentClass(TExpEntities db) { _db = db; }
public ExpertiseListController() { _db = new TExpEntities(); }
public ActOfExpertiseController() { db = new TExpEntities(); }
public DocumentController() { _db = new TExpEntities(); _document = new DocumentClass(_db); }
public WizardStepTwoController() { db = new TExpEntities(); }
public EquipmentMalfunctionOps(int EquipmentID) { db = new TExpEntities(); Equipment = db.t_Equipment.Find(EquipmentID); }
public PDFDocumentController() { _db = new TExpEntities(); }
public EquipmentController() { db = new TExpEntities(); }
public TypeOfEquipmentMalfunctionOps(int TypeID) { db = new TExpEntities(); typeOfEquipment = db.t_TypeOfEquipment.Find(TypeID); }
public DecommissionController() { db = new TExpEntities(); }
public CountOfItemsController() { db = new TExpEntities(); }
public ExpertiseUser() { _db = new TExpEntities(); }
public MessageTwoController() { db = new TExpEntities(); }
public ResetPasswordController() { _db = new TExpEntities(); _userManager = System.Web.HttpContext.Current.GetOwinContext().GetUserManager <MyUserManager>(); }