This class encapsulates a result that includes a message. It is used to return a status message along with the result of an operation.
Success(bool): Indicates if the operation was successful.Message(string): Contains a message related to the result.
This class represents the outcome of an operation in a generic way.
Success(bool): Indicates if the operation was successful.Message(List): Contains error messages if the operation failed.DataT : Contains the result of the operation.
This class represents the result of a paginated query.
DataList A list of items on the current page.TotalItems(int): The total number of items across all pages.PageNumber(int): The current page number.PageSize(int): The number of items per page.TotalPages(int): The total number of pages.HasPreviousPage(bool)HasNextPage(bool)