Esempio n. 1
0
        public async Task Add(UserProfileModel model)
        {
            await _context.AddAsync(model.Entity);

            await _context.SaveChangesAsync();
        }
        public async Task Add(ProductModel model)
        {
            await _context.AddAsync(model.Entity);

            await _context.SaveChangesAsync();
        }