public async Task GetByIdTest() { IActionResult result = await controller.GetById(1); OkObjectResult response = result as OkObjectResult; Assert.AreEqual(StatusCodes.Status200OK, (int)response.StatusCode); }