常用方法
常用方法
常用方法
常用方法
public async Task <IHttpActionResult> MovePhoto([FromBody] MovePhotoToGallery moveInfo) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } var res = GalleryService.AddPhoto(moveInfo.GalleryId, await GetCurrentId(), moveInfo.PhotoId); return(Ok(new { Success = res })); }