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(); }