|
|
@@ -120,7 +120,7 @@ |
|
|
|
[HttpPost] |
|
|
|
public async Task<bool> ChangeGroup(RecipesGroupInput input) |
|
|
|
{ |
|
|
|
var isExit =await await _dbContext.Queryable<RecipesGroupEntity>().FirstAsync(x=>x.RecipesId==input.RecipesId); |
|
|
|
var isExit =await _dbContext.Queryable<RecipesGroupEntity>().FirstAsync(x=>x.RecipesId==input.RecipesId); |
|
|
|
var entity = input.Adapt<RecipesGroupEntity>(); |
|
|
|
if (isExit==null) |
|
|
|
{ |
|
|
|