public int GetResultAdditionInt(int val1, int val2) { userInterface = new UserInterface(val1, val2); operationsInt = userInterface.CreateIntAddition(); UserSignInDTO.OperationInt.Add(operationsInt); return(operationsInt.Result); }
public char GetResultMultiplicationChar(char symbol1, char symbol2) { userInterface = new UserInterface(symbol1, symbol2); operationsChar = userInterface.CreateCharMultiplication(); UserSignInDTO.OperationChar.Add(operationsChar); return(operationsChar.Result); }
public bool GetResultMultiplicationBool(bool isVal1, bool isVal2) { userInterface = new UserInterface(isVal1, isVal2); operationsBool = userInterface.CreateBoolMultiplication(); UserSignInDTO.OperationBool.Add(operationsBool); return(operationsBool.Result); }
public string GetResultSubstractionString(string word1, string word2) { userInterface = new UserInterface(new Word { Words = word1 }, new Word { Words = word2 }); operationsWord = userInterface.CreateWordSubstraction(); UserSignInDTO.OperationWord.Add(userInterface.CreateWordSubstraction()); return(operationsWord.Result.Words); }