Add Photosynthesis Type
This commit is contained in:
@@ -60,5 +60,15 @@ namespace LeafWeb.Core.DAL
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
public IQueryable<PhotosynthesisType> GetPhotosynthesisTypes()
|
||||
{
|
||||
return _db.PhotosynthesisTypes.OrderBy(pt => pt.SortOrder);
|
||||
}
|
||||
|
||||
public PhotosynthesisType GetPhotosynthesisType(string id)
|
||||
{
|
||||
return _db.PhotosynthesisTypes.Find(id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user