예제 #1
0
 public OperationAngajatController()
 {
     _functie           = new FunctiRepository(Context);
     _angajatRepository = new AngajatRepository(Context);
     _utilajRepository  = new UtilajRepository(Context);
     _signUp            = new SignUpRepository(Context);
     _showAngajati      = new ShowAngajatiRepository(Context);
 }
예제 #2
0
 public IHttpActionResult SignUp(SignUpViewModel model)
 {
     model = SignUpRepository.SignUp(model);
     if (model.IsSuccess == 1)
     {
         return(Ok(model));
     }
     else
     {
         return(BadRequest(model.Message));
     }
 }
예제 #3
0
 public IndexController()
 {
     _signUp = new SignUpRepository(Context);
 }
예제 #4
0
 public HomeController()
 {
     _signUp = new SignUpRepository(Context);
 }
 public SignUpManager()
 {
     _signUpRepository = new SignUpRepository();
 }
 public AccountController()
 {
     signUpRepository = new SignUpRepository();
 }
예제 #7
0
 public SignUpController(SignUpRepository signupsRepository)
 {
     _signupsRepository = signupsRepository;
 }
예제 #8
0
 public AffiliateService(ILogger <AffiliateService> logger, SignUpRepository signupRepository, AffiliatesRepository affiliatesRepository)
 {
     _logger               = logger;
     _signupRepository     = signupRepository;
     _affiliatesRepository = affiliatesRepository;
 }