public int Insert(Domain.Models.SubTransaction entity) { SubTransaction entityToInsert = this.context.SubTransactions.Create(); this.mapper.Map(entity, entityToInsert); this.context.SubTransactions.Add(entityToInsert); this.context.SaveChanges(); return(entityToInsert.Id); }
public void Update(Domain.Models.SubTransaction entity) { throw new NotImplementedException(); }