This commit is contained in:
@@ -623,17 +623,7 @@ namespace AyaNova.Api.Controllers
|
||||
using (var dr = await cmd.ExecuteReaderAsync())
|
||||
{
|
||||
while (dr.Read())
|
||||
{
|
||||
// var v = new FileAttachmentListItem();
|
||||
// v.Id = dr.GetInt64(0);
|
||||
// v.DisplayFileName = dr.GetString(1);
|
||||
// v.ContentType = dr.GetString(2);
|
||||
// v.LastModified = dr.GetDateTime(3);
|
||||
// v.Notes = dr.GetString(4);
|
||||
// v.AttachedByUser = dr.GetString(5);
|
||||
// v.Size = dr.GetInt64(6);
|
||||
// retList.Add(v);
|
||||
|
||||
{
|
||||
retList.Add(new FileAttachmentListItem()
|
||||
{
|
||||
Id = dr.GetInt64(0),
|
||||
|
||||
Reference in New Issue
Block a user