public class TableTypeRepository : ITableTypeRepository
{
private TrenStarEAMEntities db = new TrenStarEAMEntities();
Core.Domain.TableType ITableTypeRepository.GetTableType(short id)
{
using (TrenStarEAMEntities dbContext = new TrenStarEAMEntities.Data.TrenStarEAMEntities())
{
var HttpStatusCoderesult = dbContext.GetTableType(null);
Core.Domain.TableType tableType = db.TableTypes.Find(id);
if (tableType == null)
{
return HttpNotFound();
}
return View(tableType);
}
}
private Core.Domain.TableType View(Core.Domain.TableType tableType)
{
throw new NotImplementedException();
}
private Core.Domain.TableType HttpNotFound()
{
throw new NotImplementedException();
}
Core.Domain.TableType ITableTypeRepository.GetTableType(short id)
{
throw new NotImplementedException();
}
}
这是错误是GetTableType(短ID)的人可以帮助吗?