public static Data.Review LibraryToDataRev(Review libModel) { var dataModel = new Data.Review() { ID = libModel.ID, Rating = libModel.Rating, CustName = libModel.CustName, RestID = libModel.RestID }; return(dataModel); }
public static Review DataToLibraryRev(Data.Review dataModel) { var libModel = new Review() { ID = dataModel.ID, Rating = dataModel.Rating, CustName = dataModel.CustName, RestID = dataModel.RestID }; return(libModel); }