yavsc/Yavsc/ApiControllers/ProfileApiController.cs

16 lines
374 B
C#
Raw Normal View History

2017-01-06 14:02:17 +01:00
using Microsoft.AspNet.Mvc;
namespace Yavsc.ApiControllers
{
2017-01-06 14:55:48 +01:00
using Models;
2017-01-06 14:02:17 +01:00
[Produces("application/json"),Route("api/profile")]
2017-01-09 16:29:34 +01:00
public abstract class ProfileApiController<T> : Controller
2017-01-06 14:02:17 +01:00
{
ApplicationDbContext dbContext;
public ProfileApiController(ApplicationDbContext context)
{
dbContext = context;
}
}
}