This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user