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