estimate to client
This commit is contained in:
parent
b7c9e93669
commit
3acb5bc922
13 changed files with 127 additions and 40 deletions
|
|
@ -11,6 +11,7 @@ namespace Yavsc.Controllers
|
|||
{
|
||||
using System;
|
||||
using Yavsc.Model;
|
||||
using Yavsc.Models.Messaging;
|
||||
using Yavsc.Models;
|
||||
using Yavsc.Models.Booking;
|
||||
|
||||
|
|
@ -43,7 +44,10 @@ namespace Yavsc.Controllers
|
|||
Include(c => c.Client).Where(c => c.PerformerId == uid && c.Id < maxId && c.EventDate > now).
|
||||
Select(c => new BookQueryProviderInfo
|
||||
{
|
||||
Client = new ClientProviderInfo { UserName = c.Client.UserName, UserId = c.ClientId },
|
||||
Client = new ClientProviderInfo {
|
||||
UserName = c.Client.UserName,
|
||||
UserId = c.ClientId,
|
||||
Avatar = c.Client.Avatar },
|
||||
Location = c.Location,
|
||||
EventDate = c.EventDate,
|
||||
Id = c.Id,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue