public RantMapRepository(APIContext dataContext, IMapper mapper) { Context = dataContext; DbSet = Context.Set <RantEntity>(); Mapper = mapper; }