public IActionResult UpdateCv(Cvdata entity)
        {
            var result = uow.CvDatas.Get(Convert.ToInt32(entity.Id));

            result.CvName = entity.CvName;
            uow.CvDatas.Put(result);
            uow.SaveChanges();
            return(Ok());
        }
 public IActionResult AddCv(Cvdata entity)
 {
     try
     {
         uow.CvDatas.Post(entity);
         uow.SaveChanges();
         return(Ok());
     }
     catch (Exception ex)
     {
         return(Ok(ex.Message));
     }
 }