Added Result.Created methods to Result.Void static methods so that returned Result type is implicitly handled.
This allows for return Result.Created(value); and return Result.Created(value, location); to work effortlessly and as expected the same way that Result.Success(value); currently works.
Added Result.Created methods to Result.Void static methods so that returned Result type is implicitly handled.
This allows for
return Result.Created(value);
andreturn Result.Created(value, location);
to work effortlessly and as expected the same way thatResult.Success(value);
currently works.