using System.Collections.Generic; namespace Quadarax.Foundation.Core.Data { /// /// Represents structure of result state /// public interface IResult { /// /// Gets if result is logically success /// bool IsSuccess { get; } /// /// Collection of error items /// public IEnumerable Errors { get; } /// /// Returns result value /// /// Value public object? GetValue(); } }