public IHttpActionResult GetByAssignmentId(int id)
        {
            var files = fileRepo.GetByAssignmentId(id).ToList();

            if (!files.Any())
            {
                return(Content(HttpStatusCode.NotFound, "List is empty"));
            }

            return(Ok(files));
        }