migrations get automatically applied when running proj

Co-authored-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>
This commit is contained in:
haraldnilsen 2023-10-03 09:18:04 +02:00
parent 1c19ca4ee2
commit 5cfc2653bb
5 changed files with 18 additions and 5 deletions

View file

@ -71,7 +71,9 @@ public class MovieController: ControllerBase
return StatusCode(204, "No Content");
}
return Ok(resultTake);
MovieResponse Response = new MovieResponse("OK", resultTake.Count(), resultTake);
return Ok(Response);
}
catch (Exception ex)
{