public ActionResult Create(Apartamento apartamento) { genericDAL.Add(apartamento); return(RedirectToAction("Index")); }
public void InsertNewTransaction(Transaction transaction) { _transactionDAL.Add(transaction); _uow.SaveChanges(); }
public ActionResult Create(Bloco bloco) { genericDAL.Add(bloco); return(RedirectToAction("Index")); }
public T Add <T>(T entity) where T : BaseModel { return(_GenericDAL.Add <T>(entity)); }
public ActionResult Create(Condominio condominio) { genericDAL.Add(condominio); return(RedirectToAction("Index")); }