optimize
wet 1 year ago
parent ee87b37472
commit 9b7ad2bec3

@ -168,7 +168,7 @@ namespace Myshipping.Application
[HttpGet("/BookingTemplate/GetTemplateShareList")] [HttpGet("/BookingTemplate/GetTemplateShareList")]
public async Task<dynamic> GetTemplateShareList(long Id) public async Task<dynamic> GetTemplateShareList(long Id)
{ {
var list = _repPrintTemplateShare.AsQueryable().Filter(null, true).Where(x => x.IsDeleted == false && x.ShareToId == UserManager.UserId&&x.TemplateId==Id).ToList(); var list = _repPrintTemplateShare.AsQueryable().Filter(null, true).Where(x => x.IsDeleted == false&&x.TemplateId==Id).ToList();
return list; return list;
} }

Loading…
Cancel
Save