Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
public IActionResult GetAll() { int uid = int.Parse(this.User.FindFirstValue(ClaimTypes.Name)); var uplds = _uploadService.ForOwner(uid).OrderBy(x => x.Date); var uploadDTOs = from u in uplds select new UploadDTO() { Id = u.Id, Name = u.Name, Date = u.Date }; return(Ok(uploadDTOs)); }