public async Task <IHttpActionResult> SantaPhotos(string santaId) { var filePathAndType = await _staticService.GetPhotoPathAndType(santaId, HostingEnvironment.MapPath); return(new FileResult(filePathAndType.Item1, filePathAndType.Item2)); }
public async Task <IHttpActionResult> SantaPhotos(string santaId) { var filePathAndType = await _staticService.GetPhotoPathAndType(santaId, HostingEnvironment.MapPath); return(new FileResult(filePathAndType.Item1, filePathAndType.Item2)); }