Method NotFound
| Improve this Doc View SourceNotFound()
Represents the situation where a service was unable to find a requested resource.
Declaration
public static Result NotFound()
Returns
| Type | Description |
|---|---|
| Result |
NotFound(String)
Represents the situation where a service was unable to find a requested resource.
Declaration
public static Result NotFound(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| String | message | An error message. |
Returns
| Type | Description |
|---|---|
| Result |
NotFound(IEnumerable<String>)
Represents the situation where a service was unable to find a requested resource.
Declaration
public static Result NotFound(IEnumerable<string> errors)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<String> | errors | A collection of string that contains error messages. |
Returns
| Type | Description |
|---|---|
| Result |
NotFound(String, IEnumerable<String>)
Represents the situation where a service was unable to find a requested resource.
Declaration
public static Result NotFound(string message, IEnumerable<string> errors)
Parameters
| Type | Name | Description |
|---|---|---|
| String | message | A general description of the error. |
| IEnumerable<String> | errors | A collection of errors. |
Returns
| Type | Description |
|---|---|
| Result |