i have a tables like this :
in my project am created a component controller the code like this :
namespace Kiwi.Service.API.Controller.Controllers
{
[Authorize]
[RoutePrefix("api/Components")]
public class ComponentsController : ApiController
{
[Route("{componentId}/metrics/{teamId}")]
public void GetTeamComponentVote(int teamId, int cardId)
{
throw new NotImplementedException();
}
}
}
i have a data access class also
please give me a code how to get values.