public async Task <ActionResult> UpdatePaycheckPaydateAsync(int id, [FromBody] PaycheckRequest paycheckRequest)
        {
            await RepositoryServiceProvider.PaycheckService.UpdatePaycheckDateAsync(id, paycheckRequest.PayDate.FromEpoch());

            return(Ok());
        }
        public async Task <ActionResult> UpdatePaycheckUnallocatedAsync(int id, [FromBody] PaycheckRequest paycheckRequest)
        {
            await RepositoryServiceProvider.PaycheckService.UpdatePaycheckUnallocatedAsync(id, paycheckRequest.Money);

            return(Ok());
        }
 public async Task <ActionResult <Paycheck> > CreatePaycheckAsync([FromBody] PaycheckRequest paycheckRequest)
 {
     return(Ok(await RepositoryServiceProvider.PaycheckService.CreatePaycheckAsync(paycheckRequest.Money, paycheckRequest.PayDate.FromEpoch())));
 }