Beispiel #1
0
 public async Task <ApiResponse> GetOne(int id)
 => ModelState.IsValid ?
 await _textManager.GetOne(id) :
 new ApiResponse(Status400BadRequest, "Text Model is Invalid");