This commit is contained in:
2021-10-07 16:42:25 +00:00
parent 6b8157e1d9
commit ffa2658e74
2 changed files with 9 additions and 7 deletions

View File

@@ -4895,6 +4895,7 @@ namespace AyaNova.Biz
dbObject.StartDate = p.Start;
dbObject.StopDate = p.End;
dbObject.UserId = p.UserId;
await ScheduledUserValidateAsync(dbObject, dbObject);
if (HasErrors) return false;

View File

@@ -3,11 +3,12 @@ using AyaNova.Biz;
namespace AyaNova.Models
{
public class ScheduleItemAdjustParams
{
public AyaType Type { get; set; }
public long Id { get; set; }
public DateTime Start { get; set; }
public DateTime End { get; set; }
}
public class ScheduleItemAdjustParams
{
public AyaType Type { get; set; }
public long Id { get; set; }
public long? UserId { get; set; }
public DateTime Start { get; set; }
public DateTime End { get; set; }
}
}