public void AddCharacter(Library.Character character) { if (character != null) { _db.Add(Mapper.Map(character)); } else { throw new ArgumentNullException(); } }
public void CreateUser(Library.Users user) { _db.Add(Mapper.Map(user)); }
public void CreateItem(Library.Item item) { _db.Add(Mapper.Map(item)); }
public void CreateAbility(Library.Abilities ability) { _db.Add(Mapper.Map(ability)); }
public void CreateCampaign(CampaignCreate campaign) { _db.Add(Mapper.Map(campaign)); }