private ElementDTO ElementMapper(ElementDataEntryModel model) { return(new ElementDTO() { Name = model.Name }); }
public void AddNewElementToDb(ElementDataEntryModel model) { _service.AddNewElement(ElementMapper(model)); }
private ElementDTO ElementMapper(ElementDataEntryModel model) { return(new ElementDTO() { Name = model.Name }); }
public void AddNewElementToDb(ElementDataEntryModel model) { _service.AddNewElement(ElementMapper(model)); }