public Result Add(Bank bank) { var result = new Result(); try { BankService bankService = new BankService(); bankService.Add(bank); result.IsSuccess = true; } catch (Exception exception) { result.IsSuccess = false; result.ExceptionInfo = exception; } return(result); }