示例#1
0
 public static ServiceRotaToggle ServiceRotaToggleValido()
 {
     return(new ServiceRotaToggle
     {
         Id = 1,
         Toggle = ToggleMock.ToggleValido(),
         Rota = "/api/service/mock",
         Active = true
     });
 }
        public static ToggleServiceRota ToggleServiceRotaValido()
        {
            var serviceRotaMock = ServiceRotaMock.ServiceRotaValido();
            var toggleMock      = ToggleMock.ToggleValido();

            return(new ToggleServiceRota
            {
                Id = 1,
                ServiceRota = serviceRotaMock,
                ServiceRotaId = serviceRotaMock.Id,
                Toggle = toggleMock,
                ToggleId = toggleMock.Id
            });
        }