WIP
This commit is contained in:
parent
e58e7782e2
commit
6d5178bf43
16 changed files with 1209 additions and 34 deletions
|
|
@ -1,7 +1,6 @@
|
|||
using System;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNet.Mvc;
|
||||
using Microsoft.Data.Entity;
|
||||
using Yavsc.Models;
|
||||
|
|
@ -17,7 +16,7 @@ namespace Yavsc.ViewComponents
|
|||
{
|
||||
this.dbContext = dbContext;
|
||||
}
|
||||
public async Task<IViewComponentResult> InvokeAsync(long id, bool toPdf = false)
|
||||
public IViewComponentResult InvokeAsync(long id, bool toPdf = false)
|
||||
{
|
||||
Estimate estimate =
|
||||
dbContext.Estimates.Include(x => x.Query)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue