public void CreateOut(Model.Out p) { db.Out.Create(new DAL.Out { Id_book = p.Id_book, Id_chit = p.Id_chit, Date = DateTime.Now, Outtype_id = p.Outtype_id }); Book_status_change(GetBook(p.Id_book), p.Outtype_id); }
public void CreateOut(Model.Out p) { db.Out.Create(new DAL.Out { Id_book = p.Id_book, Id_chit = p.Id_chit, Date = DateTime.Now, Outtype_id = p.Outtype_id }); }