예제 #1
0
 public EmployeeController()
 {
     this.EmployeeObj = new AllRepositry <Employee>();
     this.countryObj  = new AllRepositry <Country>();
     this.stateObj    = new AllRepositry <State>();
     this.cityObj     = new AllRepositry <City>();
     this.skillObj    = new AllRepositry <Skill>();
 }
예제 #2
0
        public ApplicationOAuthProvider(string publicClientId)
        {
            if (publicClientId == null)
            {
                throw new ArgumentNullException("publicClientId");
            }
            this.interfaceObj = new AllRepositry <RegisterUser>();

            _publicClientId = publicClientId;
        }
 public AccountController()
 {
     this.interfaceObj = new AllRepositry <RegisterUser>();
     _repo             = new AuthRepository();
 }