public FormDiagrams(ControllerDiagrams service, ControllerValidation validation, ControllerPrinting serviceP) { InitializeComponent(); this.service = service; this.serviceP = serviceP; this.validation = validation; }
public FormListClients(ControllerClient service, ControllerSelection serviceR, ControllerService serviceS, ControllerValidation serviceV) { InitializeComponent(); this.service = service; this.serviceR = serviceR; this.serviceS = serviceS; this.serviceV = serviceV; }
public FormReports(ControllerReporting serviceR, ContractAgent serviceCA, ControllerPrinting serviceP, ControllerValidation validation) { InitializeComponent(); this.serviceR = serviceR; this.serviceCA = serviceCA; this.serviceP = serviceP; this.validation = validation; }
public IActionResult Get(string message, string spyName) { if (!ControllerValidation.Parse(message, spyName)) { return(StatusCode(400, "Bad Data: message and spyname must be populated.")); } var response = _cipherService.Decode(message, spyName); return(StatusCode(response.StatusCode, response.Message)); }
public FormFillingContracts(ControllerDirection serviceD, ControllerClient serviceC, ControllerContractClient serviceCC, ContractAgent serviceCA, ControllerService serviceS, ControllerPrinting serviceP, ControllerValidation validation) { InitializeComponent(); this.serviceD = serviceD; this.serviceCC = serviceCC; this.serviceC = serviceC; this.serviceS = serviceS; this.serviceCA = serviceCA; this.validation = validation; this.serviceP = serviceP; }
public void Should_return_false_when_null_string_is_passed_to_message(string message, string spyName) { var result = ControllerValidation.Parse(message, spyName); result.ShouldBeFalse(); }
public FormListContracts(ControllerContractClient service, ControllerValidation validation) { InitializeComponent(); this.service = service; this.validation = validation; }