refactoring

vnext
Paul Schneider 8 years ago
parent 976b59beee
commit 9ed1360ee6
2 changed files with 3 additions and 2 deletions

@ -8,7 +8,8 @@ using Yavsc.Models.Workflow;
namespace Yavsc.Models.Billing namespace Yavsc.Models.Billing
{ {
public class NominativeServiceCommand : Query<Service> { public class NominativeServiceCommand<T> : Query<T> where T:Service
{
public string ClientId { get; set; } public string ClientId { get; set; }

@ -10,7 +10,7 @@ namespace Yavsc.Models.Booking
/// Query, for a date, with a given perfomer, at this given place. /// Query, for a date, with a given perfomer, at this given place.
/// </summary> /// </summary>
public class BookQuery : NominativeServiceCommand { public class BookQuery : NominativeServiceCommand<RendezVous> {
/// <summary> /// <summary>
/// The command identifier /// The command identifier
/// </summary> /// </summary>

Loading…