public OfferTypeModel GetModel(OfferType offerType) { return new OfferTypeModel() { OfferTypeId = offerType.OfferTypeId, Name = offerType.Name }; }
public void UpdateOfferType(OfferType OfferType) { _OfferTypeRepository.Update(OfferType); _unitOfWork.Commit(); }
public void CreateOfferType(OfferType OfferType) { _OfferTypeRepository.Add(OfferType); _unitOfWork.Commit(); }