public Result Add(Scheme Scheme) { var result = new Result(); try { SchemeService SchemeService = new SchemeService(); SchemeService.Add(Scheme); result.IsSuccess = true; } catch (Exception exception) { result.IsSuccess = false; result.ExceptionInfo = exception; } return(result); }