public AjaxContinuation Get(ExistsInputModel inputModel) { var productFound = new CQRS.ProductProjections().GetProduct(inputModel.Id); if (productFound == null) return new AjaxContinuation() {Success = false}; return AjaxContinuation.Successful(); }
public PriceListModel Get() { var productList = new CQRS.ProductProjections().GetAllProducts(); return new PriceListModel() {Products = productList}; }