Added leaf status, ssh.net
This commit is contained in:
@@ -39,13 +39,18 @@ namespace LeafWeb.Core.DAL
|
||||
#endregion
|
||||
|
||||
|
||||
#region Fluxnet Sites
|
||||
#region LeafInput Sites
|
||||
|
||||
public IQueryable<LeafInput> GetLeafInputs()
|
||||
{
|
||||
return _db.LeafInputs;
|
||||
}
|
||||
|
||||
public LeafInput GetLeafInput(int id)
|
||||
{
|
||||
return _db.LeafInputs.FirstOrDefault(li => li.Id == id);
|
||||
}
|
||||
|
||||
public void AddLeafInput(LeafInput leafInput)
|
||||
{
|
||||
leafInput.Created = DateTime.Now;
|
||||
|
||||
Reference in New Issue
Block a user