public Out(DAL.Out i, DAL.Book book, DAL.Chitatel st, DAL.Outtype ot) { Id = i.Id; Id_book = i.Id_book; Id_chit = i.Id_chit; Date = i.Date; Name_book = book.Name; Name_student = st.FIO; Outtype_id = i.Outtype_id; Outtype_name = ot.Name; }
public Chitatel(DAL.Chitatel i, DAL.Chitatel_status s, List <BLL.Model.Out> o, List <BLL.Model.Book> b) { FIO = i.FIO; Nomer_chit = i.Nomer_chit; Id = i.Id; Telephone = i.Telephone; Adress = i.Adress; Status_id = i.Status_id; Status_name = s.Name; OutList = o; BookList = b; }