Ejemplo n.º 1
0
        public async Task <T> Create(T model)
        {
            _context.Set <T>().Add(model);
            await _context.SaveChangesAsync();

            return(model);
        }