I'm trying to create the data layer with Entity Framework Core in my .net core web application but he has thrown me an error that I do not know what it is.
Severity Code Description Project File Line Suppression State Error CS0053 Inconsistent accessibility: property type 'DbSet' is less accessible than property 'DataContext.GuestResponses' DataAccesLayer C: \ Users \ Maf \ source \ repos \ WebApplicationA \ DataAccesLayer \ DataContext.cs 12 Active
class GuestResponse
{
public long Id { get; set; }
public string Name { get; set; }
public string Email { get; set; }
public string Phone { get; set; }
public bool? WillAttend { get; set; }
}