public PartialViewResult General() { return(PartialView(repository.GetAllPublishedByTypeTake(Parameter.OfferType.General, 3))); }
public IEnumerable <Offer> GetAllPublishedByType(Parameter.OfferType OfferTypeCode, int Take) { return(repository.GetAllPublishedByTypeTake(OfferTypeCode, Take)); }