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