Introduced a new TimeController with a POST endpoint to insert and retrieve the latest time record. Added ITimeRepository, TimeRepository, and TimeRecord entity. Implemented MediatR command and handler for time insertion. Updated ApplicationDbContext and DI configuration to support the new feature.
7 lines
103 B
C#
7 lines
103 B
C#
namespace DbFirst.Domain.Entities;
|
|
|
|
public class TimeRecord
|
|
{
|
|
public DateTime? Now { get; set; }
|
|
}
|