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
{
public class NominativeServiceCommand : Query<Service> {
public class NominativeServiceCommand<T> : Query<T> where T:Service
{
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.
/// </summary>
public class BookQuery : NominativeServiceCommand {
public class BookQuery : NominativeServiceCommand<RendezVous> {
/// <summary>
/// The command identifier
/// </summary>

Loading…