Add another constructor

This commit is contained in:
ngfrolov 2022-06-09 13:36:03 +05:00
parent dd2a777d3d
commit da8fcaead7

View File

@ -55,6 +55,14 @@ namespace AsbCloudApp.Data
public TimeDto()
{ }
/// <inheritdoc/>
public TimeDto(int hour = 0, int minute = 0, int second = 0)
{
this.hour = hour;
this.minute = minute;
this.second = second;
}
/// <inheritdoc/>
public TimeDto(TimeOnly time)
{