Skip to content

Dev#22

Open
dadamsretrorabbit wants to merge 363 commits into
masterfrom
Dev
Open

Dev#22
dadamsretrorabbit wants to merge 363 commits into
masterfrom
Dev

Conversation

@dadamsretrorabbit

Copy link
Copy Markdown
Collaborator

No description provided.

public async Task Put(int id, [FromBody] ReadingsEntry value)
{
var old = await _db.Readings.FindAsync(id);
_db.Entry(old).CurrentValues.SetValues(value);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quick question, are we going to have any error handling? I'm not asking for code change, maybe you can tell me what your plans are and with an exception of that I'll resolve this comment.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ash-rabbit We will put error handling on this. Will let you know when it has been done.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool thanks

@@ -12,7 +12,6 @@ public class MonitorsEntry
public double Max_flow { get; set; }

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quick suggestion, we can rename Max_flow to MaxFlow. But many of you are naming your variables according to the database field name. If thats the case then its cool.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes this is the database field name.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good, so this issue is sorted

Hunter27 and others added 28 commits February 14, 2019 21:23
…nto feature/EventHistory

# Conflicts:
#	WaterLog_Backend/Procedures.cs
…nto feature/EventHistory

# Conflicts:
#	UnitTesting/UnitTesting.csproj
#	WaterLog_Backend/Models/DatabaseContext.cs
…er27/WaterLog-Back-End into feature/usage_cost_endpoint

# Conflicts:
#	UnitTesting/UnitTest1.cs
#	WaterLog_Backend/DataPoints.cs
#	WaterLog_Backend/Procedures.cs
…nto feature/usage_cost_endpoint

# Conflicts:
#	UnitTesting/UnitTest1.cs
#	WaterLog_Backend/Migrations/DatabaseContextModelSnapshot.cs
#	WaterLog_Backend/Models/DatabaseContext.cs
#	WaterLog_Backend/Procedures.cs
…nto feature/Map

# Conflicts:
#	WaterLog_Backend/Models/DatabaseContext.cs
…nto feature/email_escalation

# Conflicts:
#	WaterLog_Backend/Models/DatabaseContext.cs
#	WaterLog_Backend/Procedures.cs
GiftLanga and others added 30 commits March 6, 2019 10:09
…Back-End into alerts_filter

# Conflicts:
#	WaterLog_Backend/Controllers/MonitorsController.cs
Updated the alerts filter endpoint
…nto fix/update_filter_method

# Conflicts:
#	WaterLog_Backend/Controllers/SegmentEventsController.cs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants