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