Exemplo n.º 1
0
            public SelfRegistrationServiceFixture BuildSelfRegistrationServiceFixture()
            {
                dbFactory = new Mock <IWorkFlowDbContextFactory>().Object;
                hasher    = new Mock <IHasher>().Object;

                Service = new SelfRegistrationService(dbFactory, hasher);

                return(this);
            }
Exemplo n.º 2
0
 public LogicController(ISelfRegistrationService service) : base()
 {
     _service = service;
 }
 public SelfRegistrationController(ISelfRegistrationService service)
 {
     _service = service;
 }