Beispiel #1
0
        public int GetResultAdditionInt(int val1, int val2)
        {
            userInterface = new UserInterface(val1, val2);
            operationsInt = userInterface.CreateIntAddition();
            UserSignInDTO.OperationInt.Add(operationsInt);

            return(operationsInt.Result);
        }
Beispiel #2
0
        public char GetResultMultiplicationChar(char symbol1, char symbol2)
        {
            userInterface  = new UserInterface(symbol1, symbol2);
            operationsChar = userInterface.CreateCharMultiplication();
            UserSignInDTO.OperationChar.Add(operationsChar);

            return(operationsChar.Result);
        }
Beispiel #3
0
        public bool GetResultMultiplicationBool(bool isVal1, bool isVal2)
        {
            userInterface  = new UserInterface(isVal1, isVal2);
            operationsBool = userInterface.CreateBoolMultiplication();
            UserSignInDTO.OperationBool.Add(operationsBool);

            return(operationsBool.Result);
        }
Beispiel #4
0
 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);
 }