public static TitleDAO MapToTitleDAO(Title title) { var t = new TitleDAO(); t.Id = title.TitleId; t.Name = title.Name; return(t); }
public bool InsertTitle(TitleDAO title) { var t = new Title(); t.TitleName = title.Name; t.TitleId = title.Id; return(ef.InsertTitle(t)); }
public static Title MapToTitle(TitleDAO title) { throw new NotImplementedException(); }