public async Task <GenericResponse <bool> > AddLike(string id) { var vloResponse = new GenericResponse <bool>(); try { vloResponse.Status = HttpStatusCode.OK; vloResponse.Response = await _photoRepository.AddLike(id); } catch (Exception ex) { vloResponse.Status = HttpStatusCode.BadRequest; vloResponse.Response = false; } return(vloResponse); }