ResultStatusMap.AddDefaultMap() is missing the mapping for ResultStatus.Created.
I think this is an oversight because ResultStatusMap.AddDefaultMap()'s documentation says it adds default mapping for all known ResultStatus's.
Calling ResultExtensions.ToActionResult<T>(T Result) throws a System.Collections.Generic.KeyNotFoundException with the message:
The given key 'Created' was not present in the dictionary
- Is there a reason I don't know of for why Created is not in the mapping?
- Support for the Created
HttpStatusCode should be added, or at least handle it and not throw an exception
If there is agreement on bullet point 2, I am open to working on it.