public IActionResult UpdateUserPhoto([FromBody] UserPhoto model) { Photo_repo.Update(model); return(new OkObjectResult(new { UserPhotoID = model.UserPhotoId })); }
public IActionResult UpdateUserPhoto([FromBody] UserPhoto model) { Photo_repo.Update(model); return(new OkObjectResult(new { UserPhotoID = model.UserPhotoId })); }