private DEditor StoD(SEditor editor) { return(new DEditor { Id = editor.Id, Title = editor.Title, Description = editor.Description, Address = editor.Address }); }
public void Update(SEditor editor) { EditorRepository.Update(StoD(editor)); }
public void Add(SEditor editor) { EditorRepository.Add(StoD(editor)); }