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