refactoring

This commit is contained in:
Paul Schneider 2017-01-06 14:50:05 +01:00
commit 16804e26e7
2 changed files with 3 additions and 2 deletions

View file

@ -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; }

View file

@ -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>