Google date quey,
refactiring, docpage * Yavsc.sln: * Web.csproj: * YavscModel.csproj: * OtherWebException.cs: * ProjectInfo.cs: * IValueProvider.cs: * CalendarApi.cs: * HomeController.cs: * TemplateException.cs: * WorkFlowController.cs: * NpgsqlWorkflow.csproj: * GoogleErrorMessage.cs: * ITCPNpgsqlProvider.cs: * NpgsqlContentProvider.cs: * ITContentProvider.csproj: * FrontOfficeApiController.cs: * NpgsqlContentProvider.csproj: refactoring * App.master: * WebApiConfig.cs: New Web api configuration architecture * SalesCatalog.csproj: * XmlCatalogProvider.cs: using MVC to get the catalog xml filename * WorkFlowManager.cs: * FrontOfficeController.cs: * CatalogManager.cs: No more extra argument to get the catalog * DateQuery.aspx: * AskForADate.cs: * GoogleController.cs: Google Date new query model * style.css: * BBCodeHelper.cs: Doc page responsive design * Service.cs: * SetPrice.cs: xml doc * WebApiConfig.cs: refactioring
This commit is contained in:
parent
7b0dd0c1e2
commit
721b11eba3
29 changed files with 124 additions and 104 deletions
|
|
@ -29,7 +29,7 @@ namespace Yavsc.Model.FrontOffice.Billing
|
|||
public class SetPrice: Price
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the minimum count.
|
||||
/// Gets or sets the minimum count for this setprice.
|
||||
/// </summary>
|
||||
/// <value>The minimum count.</value>
|
||||
[Range(0,int.MaxValue)]
|
||||
|
|
|
|||
|
|
@ -1,4 +1,7 @@
|
|||
using System;
|
||||
using System.Web;
|
||||
|
||||
|
||||
namespace Yavsc.Model.FrontOffice
|
||||
{
|
||||
/// <summary>
|
||||
|
|
@ -14,9 +17,9 @@ namespace Yavsc.Model.FrontOffice
|
|||
/// </summary>
|
||||
/// <returns>The catalog.</returns>
|
||||
/// <param name="catalogUri">Catalog URI.</param>
|
||||
public static Catalog GetCatalog (string catalogUri)
|
||||
public static Catalog GetCatalog ()
|
||||
{
|
||||
|
||||
string catalogUri = HttpContext.Current.Request.Url.AbsolutePath;
|
||||
if (defaultProvider == null) {
|
||||
if (CatalogHelper.Config == null)
|
||||
CatalogHelper.LoadConfig ();
|
||||
|
|
|
|||
|
|
@ -26,6 +26,11 @@ namespace Yavsc.Model.FrontOffice
|
|||
/// <value>The set prices.</value>
|
||||
public SetPrice[] SetPrices { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Role names involved in this kind of service
|
||||
/// </summary>
|
||||
/// <value>The providers.</value>
|
||||
public string[] Providers { get; set; }
|
||||
#region implemented abstract members of Product
|
||||
/// <summary>
|
||||
/// Gets the sales conditions.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue