diff options
author | marcinzelent <zelent.marcin@gmail.com> | 2017-11-23 10:55:32 +0100 |
---|---|---|
committer | marcinzelent <zelent.marcin@gmail.com> | 2017-11-23 10:55:32 +0100 |
commit | efc3555b0cc3ddeb0404abcbc7030627617c9719 (patch) | |
tree | c2b5c4c8cc74b37a46215e985669a2c1e1282f91 /AirPollutionWebApi/Models | |
parent | d5b8f7f8762cd8270a44227f23ce6f7a88ae3eac (diff) |
Changed the way data is being get from database.
Diffstat (limited to 'AirPollutionWebApi/Models')
-rw-r--r-- | AirPollutionWebApi/Models/Reading.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/AirPollutionWebApi/Models/Reading.cs b/AirPollutionWebApi/Models/Reading.cs index b829711..4880659 100644 --- a/AirPollutionWebApi/Models/Reading.cs +++ b/AirPollutionWebApi/Models/Reading.cs @@ -4,7 +4,8 @@ namespace AirPollutionWebApi.Models { public class Reading { - public DateTime TimeStamp { get; set; } + public int Id { get; set; } + public int TimeStamp { get; set; } public int Co { get; set; } public int No { get; set; } public int So { get; set; } |