Пример #1
0
#pragma warning disable CS8618
        public DeleteModel(RazorPagesContacts.Data.CustomerDbContext context)
        {
            _context = context;
        }
Пример #2
0
#pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
        public DetailsModel(RazorPagesContacts.Data.CustomerDbContext context)
#pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
        {
            _context = context;
        }