Ignore:
Timestamp:
08/15/24 20:01:13 (6 weeks ago)
Author:
ElenaMoskova <elena.moskova99@…>
Branches:
main
Children:
8f8226c
Parents:
2639fab
Message:

Аutomating the process

automating the process of updating the list of veterinary centers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • PostgreSqlDotnetCore/Models/Pet_CaresClass.cs

    r2639fab rae6c071  
    1919        public string description { get; set; }
    2020        public DateTime dateending { get; set; }
     21
     22        public DateTime start_date { get; set; }
     23
     24        public void SetDatesToUtc()
     25        {
     26            dateending = DateTime.SpecifyKind(dateending, DateTimeKind.Utc);
     27            start_date = DateTime.SpecifyKind(start_date, DateTimeKind.Utc);
     28        }
    2129        public int usersid { get; set; }
    2230        public int vetcentersid { get; set; }
Note: See TracChangeset for help on using the changeset viewer.