refactoring

This commit is contained in:
2017-01-06 14:50:05 +01:00
parent 976b59beee
commit 9ed1360ee6
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>