Exemplo n.º 1
0
        public static async Task <Result <int> > StubColoc(int roomieId)
        {
            ColocGateway cg        = new ColocGateway(ConnectionString);
            string       colocName = TestHelpers.RandomTestName();

            Result <int> coloc = await cg.Create(roomieId, colocName);

            return(coloc);
        }
Exemplo n.º 2
0
 public ColocGatewayTests()
 {
     Sut = new ColocGateway(TestHelpers.ConnectionString);
 }
Exemplo n.º 3
0
 public InvitationController(InviteGateway invitationGateway, ColocGateway colocGateway)
 {
     _invitationGateway = invitationGateway;
     _colocGateway      = colocGateway;
 }
Exemplo n.º 4
0
 public ColocController(ColocGateway colocGateway)
 {
     Gateway = colocGateway;
 }