using ODCWeb.DataAccess.Data; using ODCWeb.DataAccess.Repository.IRepository; using ODCWeb.Models; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; namespace ODCWeb.DataAccess.Repository { public class TemplateFormulaRepository : Repository, ITemplateFormulaRepository { private ApplicationDbContext _db; public TemplateFormulaRepository(ApplicationDbContext db) : base(db) { _db = db; } public void update(TemplateFormula obj) { _db.TemplateFormulas.Update(obj); } } }