Zack-Taylor / CandyApi

0 stars 2 forks source link

Manipulate CandyController #8

Closed CharityBunyon closed 4 years ago

CharityBunyon commented 4 years ago

Developer Story

As a developer, I'm going to set up my CandyController Class so that it can be connected to all other files.

AC

WHEN THEN AND

Dev Notes

namespace CandyApi.Controllers
{
    [Route("api/candies")]
    [ApiController]
    public class CandyController : ControllerBase
    {
        CandyRepository _repository;

        public CandyController(CandyRepository repository)
        {
            _repository = repository;
        }
    }
}