public UprdSwntRepository() { dbcontext = new UprdDbEntities1(); modalFactory = new ModalFactory(); }